#include <stdio.h>
#include "../../inc/cbb_camera_api.h"
#include "../../inc/cbb_camera_type.h"
#include "cbb_video_type.h"
#include <linux/videodev2.h>

#define  CBB_MMAP_COUNT_MAX 15
typedef struct 
{
    hd_s32_t fd;//!设备节点fd
    hd_u32_t type; //!设备采集类型 
    void *mmap_array[CBB_MMAP_COUNT_MAX];//!映射缓冲区地址数组
    hd_u32_t mmap_buffer_size; //单个映射buffer大小
    hd_u32_t mmap_count; //映射个数
    
    /*others*/
}CbbCameraHandle_t;


typedef struct {
	hd_s32_t action;//操作值,关联 CbbCameraActionE_t
	CbbCameraAckE_t (*CameraCtrl_pfun)(CameraHandle handle, CbbCameraCtrlDev_t *operate_p);
} CbbCameraCtrlFunMap_t;//控制接口函数映射